package com.cskaoyan.service;

import com.cskaoyan.bean.BaseData;
import com.cskaoyan.bean.BaseParam;
import com.cskaoyan.bean.goods.catbrand.CatAndBrand;
import com.cskaoyan.bean.goods.Goods4Class;
import com.cskaoyan.bean.goods.MarketGoods;

/**
 * @author Hu
 * @create 2021-09-16 19:47
 * @Description
 */
public interface GoodsService {
    BaseData<MarketGoods> list(BaseParam baseParam, Integer goodsId, String goodsSn, String name);

    void create(Goods4Class goodsInfo);

   Goods4Class detail(Integer id);

    void delete(Integer goodsid);

    void update(Goods4Class goodsInfo);

    CatAndBrand catAndBrand();

}
